import Vue from "vue";
import Vuex from "vuex";

import NavType from "./modules/NavType";
import Search from "./modules/Search";
import Detail from "./modules/Detail";
import ShopCart from "./modules/ShopCart";

import user from "./modules/user";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    NavType,
    Search,
    Detail,
    ShopCart,
    user,
  },
});
